#!/bin/bash
sleep 5s
gnome-terminal -x bash -c "source $HOME/livox_ws/devel/setup.bash;roslaunch livox_ros_driver2 msg_MID360.launch; exec bash"
sleep 15s
gnome-terminal -x bash -c "source $HOME/beihang_ws/devel/setup.bash; roslaunch fast_lio mapping_mid360.launch; exec bash"
sleep 3s
gnome-terminal -x bash -c "source $HOME/beihang_ws/devel/setup.bash;roslaunch px4_realsense_bridge bridge.launch;exec bash" 
sleep 3s  
gnome-terminal -x bash -c "source $HOME/beihang_ws/devel/setup.bash;roslaunch mavros px4.launch;exec bash" 
sleep 3s  
gnome-terminal -x bash -c "source $HOME/beihang_ws/devel/setup.bash;roslaunch off_board_test main.launch ;exec bash" 
sleep 3s
gnome-terminal -x bash -c "source $HOME/beihang_ws/devel/setup.bash; roslaunch ego_planner simple_run.launch; exec bash"
wait
exit 0
